/*
 * frxs Inc.  湖南兴盛优选电子商务有限公司.
 * Copyright (c) 2017-2019. All Rights Reserved.
 */

package com.zwl.controller;


import com.zwl.model.vo.RobotStoreGrayVo;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhangweilin
 * @date 2021/8/3 14:42
 * @Description: 验证一下下
 */
@RestController
@RequestMapping("/vgroup/test")
public class VgroupTest2Controller {


    /**
     *
     * @param robotStoreGrayVo
     * @param areaId  区域id
     * @param name  名称 *
     * @return
     */
    @PostMapping("/push6")
//    public RobotStoreGrayVo getGrayInfo4(RobotStoreGrayVo robotStoreGrayVo, String storeCode, int storeId, String userName) {
    public RobotStoreGrayVo getGrayInfo6(@RequestAttribute RobotStoreGrayVo robotStoreGrayVo, @RequestAttribute("areaId") Integer areaId,String name) {
        System.out.println("robotStoreGrayVo = " + robotStoreGrayVo);
        System.out.println("name = " + name);
        RobotStoreGrayVo robotStoreGrayVo2 = RobotStoreGrayVo.builder().grayFlag(true).storeName("zwl").storeCode("yyy").build();
        return robotStoreGrayVo2;
    }
}
